From: Tim Starling Date: Fri, 9 Apr 2010 12:57:34 +0000 (+0000) Subject: revert r64792 X-Git-Tag: 1.31.0-rc.0~37204 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=48d9d6cb66c107e244372d5dc16320bd2b33ca92;p=lhc%2Fweb%2Fwiklou.git revert r64792 --- diff --git a/includes/Title.php b/includes/Title.php index 700f7e60cc..09d68b23d8 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -826,9 +826,6 @@ class Title { $pref = $wgContLang->getPreferredVariant(false); if($pref != $wgContLang->getCode()) $variant = $pref; - } elseif ( $variant == $wgContLang->getCode() ) { - // Don't use $wgVariantArticlePath for the main code - $variant = false; } if ( $this->isExternal() ) {